<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台--文章管理</title>
    <link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>images/style.css" />
    <base target="_self"/>

    <script src='<?php echo isset($skin)?$skin:"";?>js/jquery.min.js'></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/jquery.form.min.js"></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/dist/dialog-min.js"></script>
    <script src="<?php echo isset($skin)?$skin:"";?>js/admin.js"></script>
    <script type="text/javascript">
        <!--
        $(document).ready(function () {
            $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
        });
        //-->
    </script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>/js/validate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate-plugin.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/form.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artDialog.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/iframeTools.js"></script>
<link rel="stylesheet" href="<?php echo isset($skin)?$skin:"";?>js/artdialog.css" type="text/css">
</head>
<body>
<div class="hh6"></div>
<div class="mbx"><span class="fl"><a href="?">工作小助手管理中心</a>--<?php echo isset($name)?$name:"";?> </span><span class="fr"><a href="?c=device&a=company_add">添加单位</a></span> </div>
<div class=""></div>
<table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
    <thead>
    <tr>
        <td height="28" align="center"  class="thbt">栏目ID</td>
        <td height="28" align="center"  class="thbt">栏目名称</td>
        <td height="28" align="center"  class="thbt">管理选项</td>

    </tr></thead>
    <tbody>
    <?php if(is_array($list))  foreach($list as $v) { ?>
    <tr align="center">
        <td width='4%' align="center" ><?php echo isset($v->id)?$v->id:"";?></td>
        <td height="20" align="center">&nbsp;&nbsp;&nbsp;<?php echo isset($v->name)?$v->name:"";?></td>
        <td height="20" align="center">
            <a class="mod" href="?c=device&a=company_add&id=<?php echo isset($v->id)?$v->id:"";?>">修改</a>
            <a class="del" href="?c=device&a=company_del&id=<?php echo isset($v->id)?$v->id:"";?>">删除</a></td>
    </tr>
    <?php }?></tbody>
</table>
<script type="text/javascript">
    <!--
    $(document).ready(function () {
        $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
    });

    //-->
</script>
</body>
</html>